
module Interval
	class EventBase
		METHOD_SPLICE = :splice
		METHOD_AVERAGE = :average

		SPLICE_MINUTE = :minute
		SPLICE_HOUR = :hour
		SPLICE_DAY = :day
		SPLICE_WEEK = :week
		SPLICE_MONTH = :month
		SPLICE_YEAR = :year

		@hash = nil

		def initialize
			@hash = {}
		end

		def record event
		end

		def guess key, method=nil
		end

		def average key, splice=nil
		end

		def key_exist? key

		end
	end
end
